package com.chen.util;

import java.util.List;

/**
 * 菜单节点工具类，写这个是为了不破坏menu结构，我们这个类多出来一个子节点
 */
public class MenuNode {
    private Integer id; //菜单编号
    private Integer pid; //父id
    private String title; //名称
    private String icon; //菜单图标
    private String href; //链接
    private String target; //链接打开方式
    private String remark; //备注信息
    private List<MenuNode> child; //子菜单的列表集合

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<MenuNode> getChild() {
        return child;
    }

    public void setChild(List<MenuNode> child) {
        this.child = child;
    }
}
